package com.snap.vseries.adapter;

import android.content.Context;
import android.graphics.Color;
import android.view.View;
import android.widget.TextView;

import com.snap.vseries.R;

import com.snap.vseries.base.BaseRecycleAdapter;
import com.snap.vseries.base.BaseViewHolder;


import java.util.List;

public class DeviceInfoAdapter extends BaseRecycleAdapter<String> {

    public DeviceInfoAdapter(Context context, List<String> dataList) {
        super(context, dataList);
    }

    @Override
    public void bindData(BaseViewHolder holder, String data, int position) {
        holder.setText(R.id.tv_device_name, data);
        TextView tvDeviceStatus = holder.getView(R.id.tv_device_status);
        View dotBg = holder.getView(R.id.experiment_dot_bg);
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.layout_device_item;
    }
}
